package Demo07;

public class Studentest {

        public static void main(String[] args) {
            Student student1 = new Student("李四",18 , 98);
            Student student2 = new Student();
            student2.setName("王五");
            student2.setAge(20);
            student2.setGrade(120);

            System.out.println(student1);
            System.out.println(student2);
        }
    }

